package cn.wolfcode.luowowo.article.service.impl;

import cn.wolfcode.luowowo.article.domain.ScenicPic;
import cn.wolfcode.luowowo.article.mapper.ScenicPicMapper;
import cn.wolfcode.luowowo.article.service.IScenicPicService;
import com.alibaba.dubbo.config.annotation.Service;
import org.springframework.beans.factory.annotation.Autowired;

import java.util.List;

@Service
public class ScenicPicServiceImpl implements IScenicPicService {
    @Autowired
    private ScenicPicMapper scenicPicMapper;

    @Override
    public List<ScenicPic> query(Long id) {
        return scenicPicMapper.query(id);
    }
}
